package java51.lesson0529;

public class TV implements Control {
	private String colour;
	private double price;
	private double size;

	public void start() {
		System.out.println("电视机亮起来，打开了");
	}

	public void change() {
		System.out.println("可以换台");
	}

	public void stop() {
		System.out.println("电视机变暗，关闭了");
	}

	public TV(String colour, double price, double size) {
		super();
		this.colour = colour;
		this.price = price;
		this.size = size;
	}

	public void tvInfo() {
		System.out.println("一台价格" + price + "元" + colour + "尺寸" + size + "寸的电视机");
	}
}
